package com.cn.main.extract.task;

import com.cn.main.extract.TaskConf;
import com.cn.main.extract.TaskNode;

public class TaskWorker {

	private TaskNode taskNode;
	
	public TaskWorker(TaskNode taskNode){
		this.taskNode = taskNode;
	}
	
	public void work() {
		TaskConf reader = taskNode.getReaderConf();
		TaskConf writer = taskNode.getWriterConf();
		reader.getParamKeyValues();
	}

	public TaskNode getTaskNode() {
		return taskNode;
	}

	public void setTaskNode(TaskNode taskNode) {
		this.taskNode = taskNode;
	}
	
	
}
